import React from 'react';
import MyRoute from '../router/route'
import { Layout } from 'antd';
import '../scss/layout.scss'
import Header from '../components/layout/header'
import Footer from '../components/layout/footer'
import Slider from '../components/layout/slider'
let { Content } = Layout

class MyLayout extends React.Component {

  render() {
    return <Layout className='layout_box'>
      <Slider />
      <Layout>
        <Header />
        <Content className='content_box'><MyRoute /></Content>
        <Footer />
      </Layout>
    </Layout>
  }
}
export default MyLayout